DX11 GET VERTEX LAYOUT BY FVF

Retrieves a vertex layout that corresponds to the given flexible vertex format value.
These might be easier to comprehend for the user that is just switching from or porting code over from standard DBPro. Unless explicitly otherwise set, DBPro objects use a
fvf value of 338 (position, normal, diffuse colour and one set of UV coordinates). Objects created through IanM's Matrix1Utilities functions tend to skip the diffuse colour part
and thus use a fvf of 274 instead. The returned vertex layout will already be finalized.
Note that not all possible FVF flag combinations are supported, but the most commonly used are. If you need something more than this you can use DX11 CREATE VERTEX LAYOUT
instead and add whatever elements you desire to it.
Also note that vertex layouts created in this way are cached so calling this function with the same fvf will return the same vertex layout pointer. .

  Syntax
Return Dword = DX11 GET VERTEX LAYOUT BY FVF(fvf)
  Parameters
fvf
Word
The flexible vertex format flags to obtain a vertex layout corresponding to.

  Returns

A vertex layout corresponding to the provided set of flexible vertex format flags.

  See also

VERTEXLAYOUT Functions Menu
DX11 Function Categories